import React from "preact/compat";

type QuestionProps = {
    id: number;
    question: string;
}

const Question: React.FC<QuestionProps> = ({id,question}) => {
    return <h2 style={{display: 'flex', paddingBottom: "3%"}}>【{id}】{question}</h2>
}
export {Question}